package com.example.service;

import com.example.entity.Teacher;
import com.baomidou.mybatisplus.extension.service.IService;
import com.nanhang.common.util.PageResult;
import com.example.vo.TeacherVO;


public interface ITeacherService extends IService<Teacher> {
    PageResult<Teacher> findByPage(Integer page, Integer pageSize);

    PageResult<Teacher> search(Integer page, Integer pageSize, TeacherVO vo);

    boolean add(Teacher staff);
}
